package kr.hkit.powerjava.chapter04;

import java.util.Scanner;

public class programming04 {
	public static void main(String[] args) {
		
		int f;
		double c;
		
		Scanner input = new Scanner(System.in);
		System.out.print("화씨 온도를 입력하라: ");
		f = input.nextInt();
		
		c= (double) 5/9 * (f-32);
		System.out.println("화씨 " + f + "도 는 섭씨" + c + "도 입니다.");
		
	}
}
